
#include "vector.h"

int main(){

  double d;

  vm_vector v1;
  vm_vector v2;
  vm_vector v3;

  v1.x = 10;
  v1.y = 9;
  v1.z = 1;

  v2.x = 1;
  v2.y = -3;
  v2.z = 12;

  int i = 0;
  for ( ; i < 2000000; i++){
    vm_add(v1, v2, &v3);
    vm_sub(v1, v2, &v3);
    vm_scale(v1, 2, &v3);
    vm_magnitude(v1);
    vm_norm(v1, &v3);
    vm_cross(v1, v2, &v3);
    vm_project(v1, v2, &v3);
    vm_dot(v1, v2, &d);
    vm_angle(v1, v2);
  }

}
